package com.finance.system.dao;

import com.finance.system.bean.pojo.RecomputeTask;
import com.finance.system.bean.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by CBWL on 2017/5/26.
 */
@Component
public interface RecomputeTaskMapper {
    int addRecomputeTask(@Param("recomputeTask") RecomputeTask recomputeTask, @Param("user") User user);
    int updateRecomputeTask(@Param("recomputeTask") RecomputeTask recomputeTask, @Param("user") User user);
    RecomputeTask getByMonth(String month);
    List<RecomputeTask> getAllUnPull();
    List<RecomputeTask> getAllUnCompute();
    void delByMonth(String month);
}
